var core = require("core")
,   send = core.send;

var GET = function(req, res, next){
    var tokens = req.tokens
    ,   SEND = new send(0);

    if(tokens.errcode)
        SEND = new send(tokens.errcode);

    SEND.docs = {
        config : req.app.config
    };

    res.render("login",SEND);
};

module.exports = GET;
